package com.voute.Model.Impl;

import com.voute.Api.FeedService;
import com.voute.Model.Bean.CreateFeedResponseBean;
import com.voute.Model.IFeedModel;
import com.voute.Utils.ServiceFactory;

import java.util.HashMap;

import rx.Observable;

/**
 * feed moidel
 * Created by liucxu on 2017/1/18.
 */

public class FeedModelImpl implements IFeedModel {
    @Override
    public Observable<CreateFeedResponseBean> createFeed(HashMap<String, String> values) {
        return ServiceFactory.GetInstance().createService(FeedService.class).createFeed(values);
    }
}
